package com.yxym.homework03;

public class Staff extends Employee{
    public Staff(String name, double dailySalary, int days, double grade) {
        super(name, dailySalary, days, grade);
    }

    @Override
    public void printSalary() {
        System.out.print("普通员工" + "\t");//自己的输出方式
        super.printSalary();//调用父类方法
    }
}
